package com.example.demo.mapper;

import com.example.demo.pojo.UserCollection;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserErrorMapper {

    List<UserCollection> getCollectionByUserId(Integer user_id);

    void add(UserCollection userCollection);

    void deleteById(Integer id);
}
